package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author : wenchao.long
 * @date : Created in 2021/8/5 14:21 周四
 * @description :
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SkuItemVO {

    /**
     * 1. sku基本信息获取 pms_sku_info
     */
    private SkuInfoEntity info;

    /**
     * 2. sku的图片信息 pms_sku_images
     */
    private List<SkuImagesEntity> images;

    /**
     * 3. 获取spu的销售属性组合
     */
    private List<SkuItemSaleAttrVO> saleAttr;

    /**
     * 4. 获取spu的介绍
     */
    private SpuInfoDescEntity descEntity;

    /**
     * 5. 获取spu的规格参数信息
     */
    private List<SpuItemAttrGroupVO> groupAttrs;

}
